The Absolute Beginners Guide To Amos ------------------------------------- Chapter Two ----------- Before we continue on to more commands there are a few things I would like to explain. The program in EXAMPLE1.Amos used seven lines for the actual code as we should now understand these commands it would be nice to squash them all up on one line. We can do this easily by using a colon (:) between each command like this: CURS OFF: HIDE: PAPER 0: CLS 0: PRINT "Testing...": WAIT KEY: EDIT This will work exactly the same as the program in Example1.Amos. Something else you will come across in Example2.Amos is REM REM tells Amos not to bother about the rest of that particular line For example: REM I can put want I want here with no worries You can even use REM at the end of a line of instructions like this: CURS OFF: REM wibble wibble rhubarb But you cannot do this: CURS OFF: REM CLS 0 Well you can do it, but Amos will never execute the Cls 0 command. If you are not impressed with REM then you can use ` instead ` I can put anything I want here with no worries But you cannot use an apostrophe like this CURS OFF ` this will cause a syntax error What you may ask is all the fuss about REM and ` as they don`t seem to do a lot? Well just observe my program comments in the examples and it will be clear how useful commenting a program can be, especially in complex programs where you have to keep track of lots of variables, ha! that is a nice link to chapter three where we learn about variables amongst other mysterious things. Time to LOAD up EXAMPLE2.Amos and mess around with the listing. Don`t forget to make notes on everything you learn. End of chapter two.